# -*- coding: utf-8 -*-
# @Time    : 2023/6/5 10:16
# @Author  : hy
# @Email   : 1596096369@qq.com
# @File    : help_center_page.py
# @Software: PyCharm
from pages.base_page import BasePage
from appium.webdriver.common.mobileby import MobileBy as By

class HelpCenterPage(BasePage):
    help_center_locater = (By.XPATH,'//*[@resource-id="com.xiachufang:id/navigation_bar_title_layout"]')
    #获取帮助中心标题文本
    def get_help_text(self):
        return self.find_element(self.help_center_locater).text